﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class Admin_reportGrn : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            // DataTable dtDrugList = (DataTable)Session["DrugList"];
            //DSPrescriptionSlip.PatientDataTable dtPatient = (DSPrescriptionSlip.PatientDataTable)Session["dtPatient"];

            // ReportViewer1.LocalReport.DataSources[1].Value = dtDrugList;
            DataTable dttable = (DataTable)Session["dtGrn"];
            ReportViewer1.LocalReport.EnableExternalImages = true;
            ReportViewer1.LocalReport.DataSources[0].Value = dttable;
            ReportViewer1.DataBind();
        }
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        
    }
}
